<?php
function add_to_array(&$arr) {
		$args = func_get_args();
		$ret = 0;
		foreach ($args as $arg) {
			if (is_array($arg)) {
				foreach ($arg as $key => $value) {
					$arr[$key] = $value;
					$ret++;
				}
			}else{
				$arr[$arg] = "";
			}
		}
		return $ret;
}
?>
